package com.desmart.ht;

import android.os.Bundle;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;
/**
 * Created by Wisn on 2018/5/4 上午9:02.
 */

public abstract class BaseActivity extends AppCompatActivity{

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        hideActionBar();
    }

    public void hideActionBar() {
        ActionBar supportActionBar = getSupportActionBar();
        if (supportActionBar != null) {
            supportActionBar.hide();
        }
    }

    @Override
    protected void onResume() {
        super.onResume();
    }

//    protected boolean setStatusBar() {
//        StatusBarUtil.setColor(this, getResources().getColor(R.color.theme_color), 0);
//        return true;
//    }




}
